/**
 *  考核模块 api
 *  @module api/exam
 */
import axios from '@/utils/axios.js'
const API_HOST = ''
/**
 * 考核列表
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const pageExam = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/exam/info/page'
})
/**
 * 考核新增
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const addExam = (data) => axios({
	method: 'post',
	data: data,
	url: API_HOST + '/exam/info/add'
})
/**
 * 考核统计
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const resListExam = (data) => axios({
	method: 'post',
	data: data,
	url: API_HOST + '/exam/result/resList'
})
/**
 * 考核岗位
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const getSylz = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/exam/setting/getSylz'
})